package demo12;

import java.io.FileWriter;
import java.io.IOException;
import java.io.Writer;

public class test9 {

    public static void main(String[] args) throws IOException {
        try(Writer writer = new FileWriter("d:/mma.txt")) {
            writer.write("你好JAVA");
        }
    }


}
